package com.cyys.common.exception;

public class BusinessException extends RuntimeException  {

	public BusinessException() {
		super();
	}

	/**
     */

    private Integer code;


    public BusinessException(Integer code, String msg) {
        super(msg);
        this.code = code;
    }

    public BusinessException(Integer code, String msg, Throwable cause) {
        super(msg, cause);
        this.code = code;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }


}
